<?php
/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use app\controller\api\data\AdStatController;
use Webman\Route;

// 炮炮兵日志上报
Route::any('/ppb/eventpush', [app\controller\api\ppb\PpbController::class, 'eventPush']);

// H5sdk xpWanSdk 前端运行日志上报
Route::any('/api/h5/log', [app\controller\api\sdk\H5Controller::class, 'log']);

// 小程序sdk xpMtgSdk 前端运行日志上报
Route::any('/api/mtg/log', [app\controller\api\sdk\MtgController::class, 'log']);

// 小游戏sdk xpMiniSdk 前端运行日志上报
Route::any('/api/xyx/log', [app\controller\api\sdk\XyxController::class, 'log']);

// 抖音小游戏sdk xpDouyinMiniSdk 前端运行日志上报
Route::any('/api/douyin/xyx/log', [app\controller\api\sdk\DouyinController::class, 'xyxLog']);

// 快手小游戏sdk xpKuaishouMiniSdk 前端运行日志上报
Route::any('/api/kuaishou/xyx/log', [app\controller\api\sdk\KuaishouController::class, 'xyxLog']);


// 安卓ios端 运行日志上报
Route::any('/api/sdkclient/log', [app\controller\api\sdk\SdkClientController::class, 'log']);


// 查看订单信息
Route::any('/api/sdk/order/info', [app\controller\api\sdk\OrderController::class, 'info']);

// sdk角色行为日志上报
Route::any('/api/game/roleevent', [app\controller\api\sdk\GameController::class, 'roleEvent']);

// 买量点击监控数据
Route::any('/api/ad/monitor', [app\controller\api\sdk\AdMonitorController::class, 'mediaMonitor']);


// 买量-每日概况
Route::any('/api/data/ad_stat/stat_data_get/{type}', [AdStatController::class, 'statDataGet']);
Route::any('/api/data/ad_stat/stat_data_report', [AdStatController::class, 'statDataGetReport']);
Route::any('/api/data/ad_stat/stat_data_keep', [AdStatController::class, 'statDataGetKeep']);
Route::any('/api/data/ad_stat/stat_data_keeppay', [AdStatController::class, 'statDataGetKeepPay']);
Route::any('/api/data/ad_stat/stat_data_keeppay_one', [AdStatController::class, 'statDataGetKeepPayOne']);
Route::any('/api/data/ad_stat/stat_data_keeppay_old', [AdStatController::class, 'statDataGetKeepPayOld']);
Route::any('/api/data/ad_stat/stat_data_keep_old', [AdStatController::class, 'statDataGetKeepOld']);
Route::any('/api/data/ad_stat/stat_data_xuni', [AdStatController::class, 'statDataGetXuni']);
Route::any('/api/data/ad_stat/stat_data_midas', [AdStatController::class, 'statDataGetMidas']);
Route::any('/api/data/ad_stat/stat_data_roi_midas', [AdStatController::class, 'statDataGetRoiMidas']);
Route::any('/api/data/ad_stat/stat_data_ltv', [AdStatController::class, 'statDataGetLtv']);
Route::any('/api/data/ad_stat/stat_data_roi', [AdStatController::class, 'statDataGetRoi']);
